//
//  TechSelectView.h
//  TechGoldology
//
//  Created by 陈名邦 on 2018/10/25.
//  Copyright © 2018年 陈名邦. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol SelectDelegate<NSObject>

@optional
//这里的type就是自定义的序号，做为标示
- (void)selectItem:(NSDictionary *)dic withType:(NSString *)viewType;

@end


@interface TechSelectView : UIView<UITableViewDelegate,UITableViewDataSource>{
    
    UIView *_coverView;
    UITableView *_tableView;
    UIButton    *_cancelbutton;
    
}

@property (nonatomic,copy)NSString *viewType;
@property (nonatomic,copy)NSString *viewTitle;
@property (nonatomic,strong)NSArray *dataArr;
@property (nonatomic,weak)id<SelectDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
